package com.liu.project.service;

import com.liu.project.kmeans.Kmeans_data;
import com.liu.project.pojo.CKmeas;
import com.liu.project.pojo.Certificate;

import java.util.List;

/**
 * @program: project
 * @description: 证书操作接口
 * @author: 86187
 * @create: 2022-02-16 16:04
 **/

public interface CertificateService {

    //   获取所有的证书
    List<Certificate> findAllCertificate();
    //根据证书id查找证书
    Certificate findCertificateById(int cid);

    //根据学科id返回的数据
    List<Certificate> findCertificateBySid(int sid);


   // int findCertificateCount(String name,Long cid);

    List<Certificate> findCertificateByKey(String name);

    boolean insertCertificate(Certificate certificate);

    boolean updateCertificate(Certificate certificate);

    boolean  deleteCertificate(int cid);

    List<CKmeas> getXAndY();

}
